package com.ml.mall.service.dashboard;

import com.ml.mall.bean.req.dashboard.DashboardDto;
import com.ml.mall.bean.req.dashboard.DashboardByPSPQueryDto;
import com.ml.mall.bean.req.delivery.DeliveryDashboardReq;
import com.ml.mall.bean.res.dashboard.DashBoardPurchaserQueryRes;
import com.ml.mall.bean.res.dashboard.DashboardAdminRes;
import com.ml.mall.bean.res.dashboard.RecentDeliveryRes;
import com.ml.mall.bean.res.dashboard.RecentOrderRes;
import com.ml.mall.bean.res.partner.PartnerDashboardQueryRes;
import com.ml.mall.bean.res.supplier.SupplierDashboardQueryRes;

import java.util.List;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/24
 *   @version        :1.0
**/
public interface DashboardService {

    /**
     * @description    :查询最近的订单
     * @author         :zxm
     * @date           :2021/5/24
     **/
    List<RecentOrderRes> queryRecentOrder();

    /**
     * @description    :查询今日物流
     * @author         :zxm
     * @date           :2021/5/24
     **/
    List<RecentDeliveryRes> queryRecentDelivery(DeliveryDashboardReq req);

    /**
     * @description    :查询管理员仪表盘
     * @author         :zxm
     * @date           :2021/5/25
    **/
    DashboardAdminRes queryAdminDashboard(DashboardDto dto);

    /**
     * @description    :查询买家仪表盘
     * @author         :pl
     * @date           :2021/6/4
    **/
    DashBoardPurchaserQueryRes queryPurchaserDashboard(DashboardByPSPQueryDto dto);

    /**
     * @description    :查询卖家仪表盘
     * @author         :pl
     * @date           :2021/6/8
     **/
    SupplierDashboardQueryRes querySupplierDashboard(DashboardByPSPQueryDto dto) throws Exception;

    /**
     * @description    :查询合作商仪表盘
     * @author         :pl
     * @date           :2021/6/9
     **/
    PartnerDashboardQueryRes queryPartnerDashboard(DashboardByPSPQueryDto dto) throws Exception;
}
